package com.flash.mongodb.domain;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

/**
* @description: TODO
* @author admin
* @date 2023/1/1810:09
* @version 1.0
*/
public class RecordLog {


    @Id
    private String _id;

    private String username;

    private String content;

    private String recordtime;

    public String get_id() {
        return _id;
    }

    public void set_id(String _id) {
        this._id = _id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }


    public String getRecordtime() {
        return recordtime;
    }

    public void setRecordtime(String recordtime) {
        this.recordtime = recordtime;
    }

    @Override
    public String toString() {
        return "RecordLog{" +
                "_id='" + _id + '\'' +
                ", username='" + username + '\'' +
                ", content='" + content + '\'' +
                ", recordtime='" + recordtime + '\'' +
                '}';
    }
}
